package com.wx.serviceImpl;

import java.util.List;

import com.wx.daoImpl.CartDaoImpl;
import com.wx.model.Cart;
import com.wx.service.CartService;

public class CartServiceImpl implements CartService {

	@Override
	public List<Cart> checkCart(String username) throws Exception {
		return new CartDaoImpl().checkCart(username);
	}

	@Override
	public boolean cartDelete(String username, String bookname) throws Exception {
		return new CartDaoImpl().cartDelete(username, bookname);
	}

}
